import { Component } from '@angular/core';
import { ApesField } from './apes-field';
import { ApiService } from '@core/services/http/api.service';
import { Events } from '@core/services/events/Events';
import { ExpressionService } from '@core/services/expression/ExpressionService';
import { SubjectService } from '@core/services/events/subject.service';

@Component({
  selector: 'formly-field-checkbox',
  template: `
    <label apes-checkbox
           style="top: 4px;"
           [formControl]="formControl"
           [formlyAttributes]="field">
    </label>
  `,
})
export class FormlyFieldCheckbox extends ApesField {
  constructor(protected apiService: ApiService, protected events: Events, protected expressionService: ExpressionService, protected subject: SubjectService) {
    super(apiService, events, expressionService, subject);
  }

}
